<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.0.js"></script>
<script type="text/javascript">

$(document).ready(function() {
	$("#update").click(function() {
		$("#updateSeller").submit();
		alert("판매자 정보수정되었습니다");
	});
});
	
</script>
</head>
<body>
<h3>판매자 정보수정</h3>
<hr>
<!-- sellerId,sellerName,sellerAddress,sellerInfo -->
<form method="post" action="updateSeller.do" id="updateSeller" >
<table border="1" cellpadding="5">
<tr><td>판매자 ID </td><td> <input type="text" name="sellerId" value="${requestScope.vo.sellerId}" readonly></td></tr>
<tr><td>판매명</td><td> <input type="text" name="sellerName" value="${requestScope.vo.sellerName}"></td></tr>
<tr><td>판매자 주소</td><td> <input type="text" name="sellerAddress" value="${requestScope.vo.sellerAddress}"></td></tr>
<tr><td>판매자 정보</td><td> <input type="text" name="sellerInfo" value="${requestScope.vo.sellerInfo}"></td></tr>

<tr><td colspan="2"><center><input type="button" id="update" value="수정하기"></center></td></tr>
</table>
</form>



</body>
</html>